export const requireView = (resolve, view) => {
  console.log(resolve, view, 'qqqq')
  require.ensure(['../views/' + view], () => {
    resolve(require('../views/' + view))
  })
}
